Control Function Component

The Control Function applies the selected function to all of the inputs with the output being the result. Can be used to vary controls in ways other than a 1:1 ratio, trigger an action when one control becomes greater or less than another, and more. The Control Function provides logical, positional, and value related functions.

For Logical Functions, logic-type input controls produce 1 and 0 outputs, position and value controls use > or < midpoint of the input control to produce a 0 or 1 output.

For Positional Functions, logic-type input controls produce 1 and 0 outputs, position-type and value-type input controls produce 0.000 to 1.00 based on the position of the control regardless of the value.

For Value Functions, logic-type input controls produce 1 and 0 outputs, position-type input controls produce 0.000 to 1.00 based on the position of the control, value-type input controls produce the actual value of the control.

Text type inputs and outputs are not available with the Control Functions. However, if you need to use a text input or output, you can place a control, that can convert the text to a value, between the text-type control and the Control Function. (Text Edit box > Generic Integer control > Control function > Generic Integer > Text Display)

There are no audio connections for this component, so all connections are to and from Control Pins.

You can have the Control Pin output of one type of control going through a Control Function, and performing that operation on a different type of control, or the same type of control. You need to keep in mind, especially for the Value type controls, that ranges on controls are not always the same, so the results are not always one-to-one. There are some controls, like a Gain fader, that has more precision from 0 dB to 20 dB than from 0 dB to -100 dB, so the results will vary accordingly.

To get a feel for the results you can achieve, drag a component into a design that has various types of controls in it, for example a Mixer. Then connect the output Control Pin(s) of the Mixer to the input Control Pins of the Control Function component. Add a Custom Controls component to the design. Add as many different control types to the Custom Control component as you can, or want, make the count on all the controls only one because there is only one output from the Control Function component. Then Emulate or Save to Core & Run, and start experimenting to see the effects of the various Control Functions on the various types of controls. Next, use your imagination!

Controls

There are no Controls for the Control Function component.

Properties

Functions

Choices

Function

Logical Functions

These functions are intended to be used with a logical type input, such as a toggle button.

Logic 1 of N

The output is a value of 1 if one input has a value of 1. More than one, the output is 0.

Logic AND

The output is a value of 1 if all the inputs have a value of 1.

Logic NAND

The output is a value of 0 if all the inputs have a value of 1.

Logic NOR

The output is a value of 1 if all the inputs have a value of 0.

Logic NOT

1 to 512 inputs. The output is a value of 1 if the input is 0.

Logic NOT XOR

The output is a value of 1 if none or an even number of inputs are 1.

Logic OR

The output is a value of 1 if one or more inputs are 1.

Logic XOR

The output is a value of 1 if an odd number of the inputs have a value of 1.

Positional Functions

These functions are intended to be used with a positional type input, such as a position knob or percent knob.

Position Average

The output is a positional value equal to the average position of all the inputs.

Position Difference

Two inputs only. The output is a positional value equal to Input 1 minus Input 2.

Position Equal

Two inputs only. The output is a positional value of 1.00 when both inputs are equal. If not equal the output is a positional value of 0.00.

Position Greater

Two inputs only. The output is a positional value of 1.00 when Input 1 is greater than Input 2. If not, the output is a positional value of 0.00.

Position Invert

One input only. The output is a positional value opposite of the input's positional value. The output equals the input when the input is exactly at midpoint.

Position Less

Two inputs only. The output is a positional value of 1.00 when Input 1 is less than Input 2. If not, the output is a positional value of 0.00.

Position Maximum

The output is a positional value equal to the input with the greatest positional value.

Position Minimum

The output is a positional value equal to the input with the smallest positional value.

Position Product

The output is a positional value equal to the product of all the inputs.

Position Sum

The output is a positional value equal to the sum of the positional values of all the inputs. When the output reaches 1.00 (full position), any controls that would add to the sum have no effect on the output.

Trigger Combiner Function

Trigger Combiner

Multiple trigger type inputs, one trigger output. Any input receiving a trigger, causes a trigger on the output. Acts like a "trigger" OR gate.

Value Functions

These functions are intended to be used with a value type input, such as a generic float knob or an integer knob.

Value Absolute Value

Only one input. The output is the absolute value of the input control. Note, that if you have an input control with a negative range larger than the positive range of the control connected to the output, the largest value you can achieve with the control on the output is its maximum positive value. For example, if the input is a level knob (-100 dB to 20 dB) and the control connected to the output has the same range, when the input is more negative than -20 dB, it has no effect on the output control.

Value Average

The output is a value equal to the average value of all the inputs.

Value Difference

Two inputs only. The output is a value equal to the difference of the value of the inputs.

Value Equal

Two inputs only. The output is a value of 1, when both inputs are equal. If not equal the output is 0.

Value Greater

Two inputs only. The output is 1 when Input 1 is greater than Input 2. Otherwise, the output is 0.

Value Less

Two inputs only. The output is 1 when Input 1 is less than Input 2. Otherwise, the output is 0.

Value Maximum

The output is a value equal to the input with the greatest value. If the greatest input is less than .5 (50%), the logical output is 0, if it is greater than .5 (50%), the logical output is 1.

Value Minimum

The output is a value equal to the input with the smallest value.

Value Negate

Only one input. The output is inverted and tracks a value control inversely within the range of both controls. If the Input control has a range of -100 to 20, and the Output control's range is -200 to 200, the output control tracks from -20 to 100.

Value Product

The output is a value equal to the product of all the inputs.

Value Quotient

The output is the value of Input 1 divided by Input 2.

Value Square

One input

only. The output is equal to the square of the input.

Value Square Root

One input only. The output is equal to the square root of the input.

Value Sum

The output is a value equal to the sum of all the inputs.

Input Count

Property

Function

Choices

Input Count

Selects the number of inputs. Depends on the Function selected, some functions have only one or two inputs.

1 to 512

Control Pins

There is only one type of control pin for a Control Function component. The type or Function is selected in the Properties, and the number available depends on the Function.

Pin Name

Value

String

Position

Pins Available

Logic AND

0

1

N/A

0

1

Input / Output

Logic NAND

0

1

N/A

0

1

Input / Output

Logic NOR

0

1

N/A

0

1

Input / Output

Logic NOT

0

1

N/A

0

1

Input / Output

Logic NOT XOR

0

1

N/A

0

1

Input / Output

Logic OR

0

1

N/A

0

1

Input / Output

Logic XOR

0

1

N/A

0

1

Input / Output

Position Average

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Position Difference

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Position Equal

0

1

N/A

0

1

Input / Output

Position Greater

0

1

N/A

0

1

Input / Output

Position Invert

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Position Less

0

1

N/A

0

1

Input / Output

Position Maximum

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Position Minimum

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Position Product

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Position Sum

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Absolute Value

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Average

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Difference

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Equal

0

1

N/A

0

1

Input / Output

Value Greater

0

1

N/A

0

1

Input / Output

Value Less

0

1

N/A

0

1

Input / Output

Value Maximum

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Minimum

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Negate

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Product

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Quotient

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Square

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Square Root

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Value Sum

0.000 to 1.00

N/A

0.000 to 1.00

Input / Output

Related Topics Link IconRelated Topics


 

© 2009 - 2016 QSC, LLC. All rights reserved. QSC and the QSC logo are trademarks of QSC, LLC in the U.S. Patent and Trademark office and other countries. All other trademarks are the property of their respective owners.

http://patents.qsc.com.